Smartling\DbAl\DB A

Total Complexity 67
Dependencies 16
Dependents 4
Total lines 453
Lines of code 300
Logical lines of code 143
Comment lines 34
Methods 38
Properties 1

Methods 38

Method Rating Maintainability Complexity Lines of code
schemaUpdate()
S
50 4 29
getCharsetCollate()
S
58 4 15
prepareSql()
S
57 3 16
getIndex()
S
58 3 16
installDb()
S
58 3 15
install()
S
61 3 13
uninstall()
S
62 3 11
getTableDefinitions()
S
50 1 34
getPrimaryKey()
S
67 3 8
getRowArray()
S
67 3 7
setSchemaVersion()
S
60 2 13
withTransaction()
S
63 2 11
fetchPrepared()
S
68 2 7
getResultsArray()
S
69 2 7
fetch()
S
69 2 7
loggedQuery()
S
69 2 7
arrayToSqlColumn()
S
64 2 10
__construct()
S
68 2 8
activate()
S
68 2 8
getCollate()
S
82 1 3
getColumnArray()
S
79 1 3
getBasePrefix()
S
82 1 3
prepare()
S
79 1 3
getLastErrorMessage()
S
82 1 3
getLastInsertedId()
S
82 1 3
getSchemaVersion()
S
78 1 3
deactivate()
S
91 1 2
getTableName()
S
79 1 3
getMigrationManager()
S
73 1 5
getSchema()
S
80 1 3
queryPrepared()
S
78 1 3
query()
S
80 1 3
logFailedQuery()
S
78 1 3
getCharset()
S
82 1 3
completeMultisiteTableName()
S
80 1 3
completeTableName()
S
80 1 3
escape()
S
80 1 3
getPrefix()
S
82 1 3